package com.scuec.tourismwebsite.service;

import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.PostComment;
import com.scuec.tourismwebsite.vo.PComment;
import org.apache.ibatis.annotations.Param;

//
import java.util.List;

public interface PostCommentService {
    Integer deletePCommentById(Integer comment_id);
    List<PComment> findPCommentByIdCo(Integer post_id, String comment_content);
    List<PComment> findPCommentById(Integer post_id);
    PageInfo<PComment> findPCommentPages(Integer post_id, Integer pageNum, Integer pageSize);
    PageInfo<PComment> findPCommentPage(Integer post_id, String comment_content, Integer pageNum, Integer pageSize);
    Integer insertPComment(PostComment postComment);
}
